package com.example.javaee;

public class ByteOrShort {
    public static void main(String[] args) {
        byte n1=3;
        short n2=3;
        System.out.println(n1);//一个字节
        System.out.println(n2);//两个字节
    }
}
